package net.crozz.openapi.http;

/**
 * Created by crozz on 15/7/15.
 */
public class RequesterOptions {
    private boolean debug         = true;
    private int     conTimeOutMs  = 30000;
    private int     soTimeOutMs   = 30000;
    private int     maxConPerHost = 150;

    private String  proxyHost     = null;
    private Integer proxyPort     = null;
    private String  proxyUser     = null;
    private String  proxyPassword = null;

    public boolean isDebug() {
        return debug;
    }

    public void setDebug(boolean debug) {
        this.debug = debug;
    }

    public int getConTimeOutMs() {
        return conTimeOutMs;
    }

    public void setConTimeOutMs(int conTimeOutMs) {
        this.conTimeOutMs = conTimeOutMs;
    }

    public int getSoTimeOutMs() {
        return soTimeOutMs;
    }

    public void setSoTimeOutMs(int soTimeOutMs) {
        this.soTimeOutMs = soTimeOutMs;
    }

    public int getMaxConPerHost() {
        return maxConPerHost;
    }

    public void setMaxConPerHost(int maxConPerHost) {
        this.maxConPerHost = maxConPerHost;
    }

    public String getProxyHost() {
        return proxyHost;
    }

    public void setProxyHost(String proxyHost) {
        this.proxyHost = proxyHost;
    }

    public Integer getProxyPort() {
        return proxyPort;
    }

    public void setProxyPort(Integer proxyPort) {
        this.proxyPort = proxyPort;
    }

    public String getProxyUser() {
        return proxyUser;
    }

    public void setProxyUser(String proxyUser) {
        this.proxyUser = proxyUser;
    }

    public String getProxyPassword() {
        return proxyPassword;
    }

    public void setProxyPassword(String proxyPassword) {
        this.proxyPassword = proxyPassword;
    }
}
